package com.ivo.activiti.hr.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 员工组（分类）
 * @author wj
 * @version 1.0
 */
@Data
@Entity
@Table(name = "HR_O_EmpGroup")
public class EmpGroup implements Serializable {

    /**
     * 组ID
     */
    @Id
    @Column(name = "EmpGroup_ID")
    private String empGroup_ID;

    /**
     * 组名称
     */
    @Column(name = "EmpGroupName")
    private String empGroupName;

    @Column(name = "EmpRule")
    private String empRule;

    @Column(name = "OverseaFlag")
    private Integer overseaFlag ;

    @Column(name = "DutyFlag")
    private Integer dutyFlag;

    /**
     * 逻辑删除标识
     */
    @Column(name = "validFlag")
    private boolean validFlag = true;
}
